home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / logb.doc < prev    next >
Text File  |  1995-03-31  |  1KB  |  31 lines

  1. (Comp.sys.handhelds) 
  2. Item: 3318; Resp: 6 by grue at cs.uq.oz.au 
  3. Author: [Paul Dale, aka Frobozz] 
  4.   Date: Wed Jun 05 1991 
  5.  
  6.         My little bit is a routine that calculates log to any base using 
  7. the full 15 digit internal precision.  The routine checks its arguments and 
  8. it only works when given 2 real numbers (unlike the built in log functions 
  9. which also accept complex numbers and symbolics). 
  10.  
  11. To use this program enter the base into level 2 of the stack and the 
  12. number you want the log of on level 1 and run the program. 
  13.  
  14. e.g. Log 3 base 2, would be calculated as: 
  15. 2 ENTER 3 LOGB 
  16.  
  17. [Note: Before you shout that this can be calculated by merely pressing 
  18.  3 LN 2 LN /, be aware that keyboard chain calculations like this can 
  19.  accumulate roundoff errors.  LOGB is more accurate.  See LOGB.LST for 
  20.  method and listing.  -jkh-] 
  21.  
  22. Pauli 
  23. seeya 
  24.  
  25. Paul Dale               | Internet/CSnet:            grue@cs.uq.oz.au 
  26. Dept of Computer Science| Bitnet:       grue%cs.uq.oz.au@uunet.uu.net 
  27. Uni of Qld              | JANET:           grue%cs.uq.oz.au@uk.ac.ukc 
  28. Australia, 4072         | EAN:                          grue@cs.uq.oz 
  29.                         | UUCP:           uunet!munnari!cs.uq.oz!grue 
  30. f4e6g4Qh4++             | JUNET:                     grue@cs.uq.oz.au 
  31.